package com.youlai.boot.form.converter;

import com.youlai.boot.form.model.entity.FormCollectTask;
import com.youlai.boot.form.model.entity.FormDefinition;
import com.youlai.boot.form.model.form.FormCollectTaskForm;
import com.youlai.boot.form.model.vo.FormDefinitionVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface FormCollectTaskConverter {

    FormCollectTaskForm toForm(FormCollectTask entity);

    FormCollectTask toEntity(FormCollectTaskForm collectTaskForm);

    FormDefinitionVO toVO(FormDefinition entity);
}
